<template>
    <div>
        <div class="header" style="display: flex; align-items: center">
            <div>
                <el-image style="width: 40px; height: 40px" :src="require('../../../assets/img/holdCompany.png')"> </el-image>
            </div>
            <h3>控股公司:{{ this.nodeData.name }}</h3>
        </div>
        <div>
            <el-row>
                <el-tag type="primary">公司全称：</el-tag>
                <span class="info-span">{{ this.nodeData.properties.fullname }}</span>
            </el-row>
        </div>
    </div>
</template>

<script>
export default {
    name: 'HoldCompanyCard',
    props: {
        nodeData: {
            type: Object,
            required: true
        }
    },
    data() {
        return {};
    }
};
</script>

<style scoped>
.info-span {
    padding-left: 5px;
}
</style>
